home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
WINWORDS
/
AMIMACRO.ZIP
/
TYPESET.SMM
< prev
next >
Wrap
INI File
|
1992-07-20
|
17KB
|
1,145 lines
[ver]
4
[sty]
~macro.sty
[files]
[charset]
82
ANSI (Windows, IBM CP 1252)
[revisions]
0
[prn]
CITIZEN Dot Matrix
[lang]
1
[desc]
711691799
4
709842889
242
5
0
0
0
0
0
[fopts]
0
1
0
0
[lnopts]
2
Body Text
1
[docopts]
5
2
[l1]
0
[pg]
5
60 0 17 0 0 0 0 216 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
120 0 5 0 0 0 0 216 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
179 0 10 0 0 1 0 216 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
237 0 47 0 0 0 0 216 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
246 0 10 1025 80 0 0 216 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
[edoc]
@Function@<:#216,10800>FUNCTION Typeset()
<:#216,10800><:>onerror endit
<:#216,10800>oncancel endit
dim bfont(100)
<:#216,10800>l=0
b=79
<:#216,10800>bfont(1)="Arial MT"
<:#216,10800>bfont(2)="AvantGarde"
<:#216,10800>bfont(3)="Bookman"
<:#216,10800>bfont(4)="BrushScript"
<:#216,10800>bfont(5)="CaslonOpenFace"
<:#216,10800>bfont(6)="Courier"
<:#216,10800>bfont(7)="DomCasual"
<:#216,10800>bfont(8)="Frank Goth Cd"
<:#216,10800>bfont(9)="Helvetica"
<:#216,10800>bfont(10)="Helvetica-Narrow"
<:#216,10800>bfont(11)="LetterGothic"
<:#216,10800>bfont(12)="NewCenturySchlbk"
<:#216,10800>bfont(13)="Palatino"
<:#216,10800>bfont(14)="Perpetua"
<:#216,10800>bfont(15)="Shelly Allegro Script"
<:#216,10800>bfont(16)="Symbol"
<:#216,10800>bfont(17)="Times"
<:#216,10800>bfont(18)="TimesNewRomanPS"
<:#216,10800>bfont(19)="Wingdings"
<:#216,10800>bfont(20)="Algiers"
<:#216,10800>bfont(21)="Arabia"
<:#216,10800>bfont(22)="Avalon"
<:#216,10800>bfont(23)="Bahamas"
<:#216,10800>bfont(24)="BahamasHeavy"
<:#216,10800>bfont(25)="BahamasLight"
<:#216,10800>bfont(26)="BallroomTango"
<:#216,10800>bfont(27)="BravoEngraved"
<:#216,10800>bfont(28)="Brochure"
<:#216,10800>bfont(29)="Brooklyn"
<:#216,10800>bfont(30)="Busker"
<:#216,10800>bfont(31)="Campaign"
<:#216,10800>bfont(32)="Casablanca"
<:#216,10800>bfont(33)="CasablancaAntique"
<:#216,10800>bfont(34)="CommonBullets"
<:#216,10800>bfont(35)="Cottage"
<:#216,10800>bfont(36)="Crescent"
<:#216,10800>bfont(37)="Dauphin"
<:#216,10800>bfont(38)="DawnCastle"
<:#216,10800>bfont(39)="Dixieland"
<:#216,10800>bfont(40)="Euromode"
<:#216,10800>bfont(41)="Expo"
<:#216,10800>bfont(42)="Frankenstein"
<:#216,10800>bfont(43)="Freeport"
<:#216,10800>bfont(44)="Galleria"
<:#216,10800>bfont(45)="Gatineau"
<:#216,10800>bfont(46)="GreekMathSymbols"
<:#216,10800>bfont(47)="Hollow"
<:#216,10800>bfont(48)="HomewardBound"
<:#216,10800>bfont(49)="Indiana"
<:#216,10800>bfont(50)="IndianaSolid"
<:#216,10800>bfont(51)="Kastler"
<:#216,10800>bfont(52)="Kids"
<:#216,10800>bfont(53)="Lincoln"
<:#216,10800>bfont(54)="Linus"
<:#216,10800>bfont(55)="Lithograph"
<:#216,10800>bfont(56)="LithographLight"
<:#216,10800>bfont(57)="Mystical"
<:#216,10800>bfont(58)="Nebraska"
<:#216,10800>bfont(59)="NewBrunswick"
<:#216,10800>bfont(60)="NewOrder"
<:#216,10800>bfont(61)="NewOrderEngraved"
<:#216,10800>bfont(62)="Nuance"
<:#216,10800>bfont(63)="Ottawa"
<:#216,10800>bfont(64)="PalmSprings"
<:#216,10800>bfont(65)="Paradise"
<:#216,10800>bfont(66)="Penguin"
<:#216,10800>bfont(67)="PenguinLight"
<:#216,10800>bfont(68)="President"
<:#216,10800>bfont(69)="Southern"
<:#216,10800>bfont(70)="Stamp"
<:#216,10800>bfont(71)="SwitzerlandLight"
<:#216,10800>bfont(72)="SwitzerlandNarrow"
<:#216,10800>bfont(73)="Timpani"
<:#216,10800>bfont(74)="TimpaniHeavy"
<:#216,10800>bfont(75)="Unicorn"
<:#216,10800>bfont(76)="Viking"
<:#216,10800>bfont(77)="Vivienne"
<:#216,10800>bfont(78)="Wingdings"
<:#216,10800>bfont(79)="ZurichCalligraphic"
@Function@<:#216,10800>Box1:
<:#216,10800><:>Darkmode(1)
<:#216,10800>Hourglass(1)
<:#216,10800>For I = 1 to b
<:#216,10800> FillList(bfont(I))
<:#216,10800>Next
<:#216,10800>For I = 3 to 50
<:#216,10800> x=i*2
<:#216,10800> Filledit(9500,x)
<:#216,10800>next
<:#216,10800>box1=DialogBox(".","box1")
<:#216,10800>If box1=0
<:#216,10800> Goto endit
<:#216,10800>Endif
<:#216,10800>Newfont=GetDialogField$(9000)
<:#216,10800>Newsize=GetDialogField$(9500)
<:#216,10800>slant=GetDialogField$(22)
<:#216,10800>black=GetDialogField$(23)
<:#216,10800>blackslant=GetDialogField$(24)
<:#216,10800>both=GetDialogField$(28)
<:#216,10800>all=GetDialogField$(25)
<:#216,10800>Entire=GetDialogField$(26)
<:#216,10800>ASCII=GetDialogField$(27)
<:#216,10800>If all=1
<:#216,10800> att=5
elseif both=1
att=5
<:#216,10800>elseif slant=1
<:#216,10800> att=2
<:#216,10800>elseif black=1
<:#216,10800> att=3
<:#216,10800>elseif blackslant=1
<:#216,10800> att=4
<:#216,10800>else att=1
<:#216,10800>Endif
<:#216,10800>FontFaceChange(newfont)
<:#216,10800>attrib="normal"
<:#216,10800>Switch att
<:#216,10800> case 2
<:#216,10800> Italic()
<:#216,10800> attrib="Italic"
<:#216,10800> case 3
<:#216,10800> Bold()
<:#216,10800> Attrib="Bold"
<:#216,10800> case 4
<:#216,10800> bold()
<:#216,10800> Italic()
<:#216,10800> attrib="Bold Italic"
<:#216,10800> case 5
<:#216,10800> goto allfour
<:#216,10800>EndSwitch
<:#216,10800>FontPointSizeChange(newsize)
<:#216,10800>StatusBarMsg("Typing {newfont} {attrib} in {newsize} points")
<:#216,10800>If entire
<:#216,10800> For i = 33 to 255
<:#216,10800> Char = CHR$(I)
<:#216,10800> If ascii
<:#216,10800> Type("{char}")
<:#216,10800> FontFaceChange("Times")
<:#216,10800> Type(" = {i}<[>Enter]")
<:#216,10800> FontFaceChange(newfont)
<:#216,10800> Else TYPE("{Char}")
<:#216,10800> Endif
<:#216,10800> Next
<:#432,10800>Else TYPE("ABCDEFGHIJKLMNOPQRATUVWXYZ abcdefghijklmnopqrstuvwxyz 1234567890 . , ; : ' ? ! @#$%^&* - _ = + / << <;> { } <[> ]</V>
</W> </T> </S>")
<:#216,10800>Endif
<:#216,10800>Type("{Newfont} {Newsize}<[>Enter]<[>Enter]")
<:#216,10800>Switch att
<:#216,10800> case 2
<:#216,10800> Italic()
<:#216,10800> case 3
<:#216,10800> Bold()
<:#216,10800> case 4
<:#216,10800> bold()
<:#216,10800> Italic()
<:#216,10800>Endswitch
<:#216,10800>goto another
@Function@<:#216,10800>Allfour:
<:#216,10800>Switch l
<:#216,10800> case 0
<:#216,10800> attrib="Normal"
<:#216,10800> case 1
<:#216,10800> attrib="Italic"
<:#216,10800> case 2
<:#216,10800> attrib="Bold"
<:#216,10800> case 3
<:#216,10800> attrib="Bold Italic"
<:#216,10800>Endswitch
<:#216,10800>FontPointSizeChange(12)
<:#216,10800>StatusBarMsg("Typing {newfont} {attrib} in 12 points")
<:#216,10800>If entire
<:#216,10800> For i = 33 to 255
<:#216,10800> Char = CHR$(I)
<:#216,10800> If ascii
<:#216,10800> Type("{char} = {i}<[>Enter]")
<:#216,10800> Else TYPE("{Char}")
<:#216,10800> Endif
<:#216,10800> Next
<:#432,10800>Else TYPE("ABCDEFGHIJKLMNOPQRATUVWXYZ abcdefghijklmnopqrstuvwxyz 1234567890 . , ; : ' ? ! @#$%^&* - _ = + / << <;> { } <[> ]</V>
</W> </T> </S>")
<:#216,10800>Endif
<:#216,10800>Type("{Newfont} 12 {attrib}<[>Enter]<[>Enter]")
<:#216,10800><:><:>FontPointSizeChange(18)
<:#216,10800>StatusBarMsg("Typing {newfont} {attrib} in 18 points")
<:#216,10800>If entire
<:#216,10800> For i = 33 to 255
<:#216,10800> Char = CHR$(I)
<:#216,10800> If ascii
<:#216,10800> Type("{char} = {i}<[>Enter]")
<:#216,10800> Else TYPE("{Char}")
<:#216,10800> Endif
<:#216,10800> Next
<:#432,10800>Else TYPE("ABCDEFGHIJKLMNOPQRATUVWXYZ abcdefghijklmnopqrstuvwxyz 1234567890 . , ; : ' ? ! @#$%^&* - _ = + / << <;> { } <[> ]</V>
</W> </T> </S>")
<:#216,10800>Endif
<:#216,10800>Type("{Newfont} 18 {attrib}<[>Enter]<[>Enter]")
If both=1
goto another
endif
<:#216,10800>l=l+1
<:#216,10800>If l<;>0
<:#216,10800> italic